//
//  ViewController.m
//  NetworkTools
//
//  Created by 方正刚 on 2017/8/25.
//  Copyright © 2017年 方正刚. All rights reserved.
//

#import "ViewController.h"
#import "NetworkTools.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [[NetworkTools networkTools] request:GET urlString:@"api/v1/getHotRoom/3" parameters:nil finish:^(id  _Nullable responseObject, NSError * _Nullable error) {
        
        
        if (responseObject) {
            
            NSLog(@"%@", responseObject);
        }
        NSLog(@"%@", error);

        
        
        
    }];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
